<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        #app {
            padding: 20px 30px;
            width: 100%;
            height: 100%;
            box-sizing: border-box;
        }

        h1 {
            font-size: 22px;
        }

        #app input:nth-child(2) {
            width: 100%;
            height: auto;
            display: block;
            padding: 10px 0;
            margin: 30px 0;
            border: none;
            outline: none;
            border-bottom: 1px solid #eee;
        }

        #app input:nth-child(3) {
            width: 100%;
            height: auto;
            display: block;
            padding: 10px 0;
            margin: 30px 0;

            border: none;
            outline: none;
            border-bottom: 1px solid #eee;
        }

        #app input:nth-child(4) {
            width: 100%;
            height: auto;
            display: block;
            margin: 30px 0;
            border: none;
            outline: none;
            text-align: center;
            padding: 8px 0;
            font-size: 14px;
            color: #999;
            border-radius: 34px;
        }
    </style>
</head>

<body>
    <div id="app">
        <h1>密码登录</h1>
        <input type="text" placeholder="手机/用户名" v-model="user">
        <input type="password" name="" id="" placeholder="密码" v-model="pwd">
        <input type="button" value="登录" @click="get">
    </div>
</body>

</html>
<script src="./lib/vue2.js"></script>
<script src="4.登录页.js"></script>